﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 员工实体类
    /// </summary>
    public class Employee
    {
        public string EmployeeID { get; set; }  //员工编号
        public string EmployeeName { get; set; }//员工姓名
        public bool Gender { get; set; }        //性别
        public DateTime Birthday { get; set; }  //出生日期
        public string Brief { get; set; }       //备注

        public Employee() { }
        public Employee(string employeeID, string employeeName, bool gender, DateTime birthday, string brief)
        {
            this.EmployeeID = employeeID;
            this.EmployeeName = employeeName;
            this.Gender = gender;
            this.Birthday = birthday;
            this.Brief = brief;
        }
        public Employee(Employee e)
        {
            this.EmployeeID = e.EmployeeID;
            this.EmployeeName = e.EmployeeName;
            this.Gender = e.Gender;
            this.Birthday = e.Birthday;
            this.Brief = e.Brief;
        }
    }
}
